package com.lzy.pattern.strategy;

/**
 * @ClassName: Client
 * @Description: TODO
 * @Author: LiuZy
 * @Date: 2022/4/27 22:11
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) {
        SalesMan salesMan = new SalesMan(new StrategyA());
        salesMan.SalesShow();

        SalesMan salesMan2 = new SalesMan(new StrategyB());
        salesMan2.SalesShow();

        SalesMan salesMan3 = new SalesMan(new StrategyC());
        salesMan3.SalesShow();
    }

}